#include <stdio.h>
#include <stdlib.h>
#include "lgwseq.h"
	
void lgwseq_test() {
	lgwseq_t *lws = for_lgwseq(3, L"BIT"),
	*lws2 = for_lgwseq(4, "COIN");
	
	lgwseq_t *lws3 = lgwseq_concat(2, lws, lws2);
	
	if(!wcsncmp(L"BITCOIN", lws3->data, 7))
		printf("lgwseq_concat OK\n");
	else {
		fprintf(stderr, "lgwseq_concat NOK\n");
		exit(-1);
	}
}